package edu.yngsxy.wkstudy.core.ai.service;

import cn.hutool.ai.AIServiceFactory;
import cn.hutool.ai.ModelName;
import cn.hutool.ai.core.AIConfigBuilder;
import cn.hutool.ai.core.AIService;
import cn.hutool.ai.model.doubao.DoubaoService;
import edu.yngsxy.wkstudy.core.util.WkRedisService;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * AI会话服务
 */
@Service
public class AISessionService extends WkAIService {

    public AISessionService(StringRedisTemplate redis, ObjectMapper mapper, WkRedisService wkRedisService) {//构造函数
        super(redis, mapper, wkRedisService);
    }

    //会话服务不依赖于AIService，所以不需要重写getAiService方法
    @Override
    protected AIService getAiService() {
        return null;
    }
}
